import {createRouter,createWebHistory} from 'vue-router'

const router=createRouter({
  history:createWebHistory(),
  routes:[
    {
      path:'/',
      redirect:'/login'
    },
    {
      path:'/zhuce',
      component:()=>import("../views/ZhuCe.vue")
    },
    {
      path:'/login',
      component:()=>import("../views/Login.vue")
    },
    // {
    //   path:'/guanli',
    //   component:()=>import("../views/GuanLi.vue")
    // },
    {
      path:'/guanli',
      component:()=>import("../views/ChaCao.vue")
    },
    {
      path:'/putong',
      component:()=>import("../views/PuTong.vue")
    },
    {
      path:'/show',
      component:()=>import("../views/Show.vue")
    },
    {
      path:'/login2',
      component:()=>import("../views/Login2.vue")
    },
    {
      path:'/login3',
      component:()=>import("../views/Login3.vue")
    },
    {
      path:'/guanliBorrow',
      component:()=>import("../views/GuanLiBorrow.vue")
    },
    {
      path:'/putongBorrow',
      component:()=>import("../views/PuTongBorrow.vue")
    },
    {
      path:'/jiekuan',
      component:()=>import("../views/JieKuan.vue")
    },
    // {
    //   path:'/putongRedeem',
    //   component:()=>import("../views/PuTongRedeem.vue")
    // },
    {
      path:'/putongRedeem',
      component:()=>import("../views/ChaCao2.vue")
    },
    {
      path:'/putongRedeemBorrow',
      component:()=>import("../views/PuTongRedeemBorrow.vue")
    },
    {
      path:'/count',
      component:()=>import("../views/Count.vue")
    },
    {
      path:'/check',
      component:()=>import("../views/Check.vue")
    },
    // {
    //   path:'/check',
    //   component:()=>import("../views/ChaCao2.vue")
    // }
  ]
})

export default router